package com.brspace.qualitycontrol.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author hugo
 * @date 2021-04-18
 */
@Data
public class DeptVo {
    @ApiModelProperty(value = "部门id")
    private String id ;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "上级部门")
    private String pid;

    @ApiModelProperty(value = "子集")
    protected List<DeptVo> children = new ArrayList<>();
}
